package com.yxw.live_vod_boot.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author liuxin
 * @date 2023.0913
 */
@Data
@ToString(callSuper=true)
@ApiModel(value="UpdateVideoDTO", description="视频修改")
public class UpdateVideoDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "视频ID", required = true)
    @NotBlank(message = "视频ID不能为空")
    private Long videoId;

    @ApiModelProperty(value="是否置顶 0:未置顶 1:置顶")
    private Integer topFlag;

    @ApiModelProperty(value="标题")
    private String titel;

    @ApiModelProperty(value="是否公开0-否 1：是")
    private Integer publicFlag;
}
